home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 5: The Fifth Dimension
/
17 Bit - The Fifth Dimension (1995)(17 Bit Software)[!].iso
/
files
/
3683.dms
/
3683.adf
/
autoexec.AMOS
/
autoexec.amosSourceCode
next >
Wrap
AMOS Source Code
|
1995-03-09
|
9KB
|
491 lines
Screen Open 7,640,256,16,Hires : Paper 0 : Ink 9 : Print ""
MAIN:
Limit Mouse 129,50 To 448,296
Curs Off
Auto View Off
Screen Open 0,640,256,16,Hires
Screen Open 1,640,256,16,Hires
Screen Open 2,640,256,16,Hires
Screen Open 3,640,256,16,Hires
Screen Open 4,640,256,16,Hires
Screen Open 5,640,256,16,Hires
Screen Open 6,640,256,16,Hires
99
Show On
Auto View On
Unpack 4 To 7
Paper 6
Curs Off
Print "Click here for menu."
Menu$(1)=" THE MODERN COMPACT "
Menu$(1,1)=" READ THIS FIRST "
Menu$(1,2)=" Read Introduction "
Menu$(1,3)=" Flick Through the Pages "
Menu$(1,4)=" View IFF's as Slideshow. "
Menu$(1,5)=" Exit "
On Menu Proc DIGITISED
On Menu On
Menu On
Procedure DIGITISED
Y=Choice(2)
If Y=1 Then Goto 881
If Y=2 Then Goto 876
If Y=3 Then Goto 202
If Y=4 Then Goto 203
If Y=5 Then Stop
End Proc
Reserve Zone(25)
Set Zone 1,16,12 To 93,43
Set Zone 2,16,57 To 93,89
Set Zone 3,16,108 To 93,139
Set Zone 4,16,163 To 93,197
Set Zone 5,16,213 To 93,245
Set Zone 6,528,16 To 611,47
Set Zone 7,528,63 To 611,94
Set Zone 8,528,112 To 611,142
Set Zone 9,528,164 To 611,195
Set Zone 10,528,214 To 611,243
Do
K=Mouse Zone
T=Mouse Key
If K=1 and T=1 Then Goto 101
If K=2 and T=1 Then Goto 102
If K=3 and T=1 Then Goto 103
If K=4 and T=1 Then Goto 104
If K=5 and T=1 Then Goto 105
If K=6 and T=1 Then Goto 106
If K=7 and T=1 Then Goto 107
If K=8 and T=1 Then Goto 108
If K=9 and T=1 Then Goto 109
If K=10 and T=1 Then Goto 110
Loop
Wait Key
'
'
202
Fade 13
Unpack 5 To 1
Wait 100
Fade 13
Unpack 6 To 2
Wait 100
Fade 13
Unpack 7 To 1
Wait 100
Fade 13
Unpack 8 To 2
Wait 100
Fade 13
Unpack 9 To 1
Wait 100
Fade 13
Unpack 10 To 2
Wait 100
Fade 13
Unpack 11 To 1
Wait 100
Fade 13
Unpack 12 To 2
Wait 100
Fade 13
Unpack 13 To 1
Wait 100
Fade 13
Unpack 14 To 2
Wait 100
Goto 99
'
203
Cls : Paper 5 : Print "" : Cls : Locate 0,16 : Centre "** PRESS ANY KEYBOARD KEY FOR NEXT PICTURE **"
Wait Key
Load Iff "BEAMISH",1
Wait Key
Fade 13
Load Iff "COSWORTH",2
Wait Key
Fade 13
Load Iff "HOL",1
Wait Key
Fade 13
Load Iff "GLASS",2
Wait Key
Fade 13
Load Iff "PUDDLE",1
Wait Key
Fade 13
Load Iff "TEIDI",2
Wait Key
Goto 99
'
'
101
Fade 13
Wait 50
Unpack 5 To 1
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
100
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Fade 13 : Goto 99
If K=12 and T=1 Then Fade 13 : Goto 102
If K=13 and T=1 Then Fade 13 : Goto 99
If K=14 and T=1 Then Goto 150
If K=15 and T=1 Then Goto 151
If K=16 and T=1 Then Fade 13 : Goto 152
Loop
'
150
M$="Compact:load.Txt" : Paper 1 : Gosub TS : Goto 101
'
151
M$="Compact:flash.Txt" : Paper 1 : Gosub TS : Goto 101
'
152
Fade 13
Load Iff "compact:teidi",4
Do
T=Mouse Key
If T<>0 Then Cls : Goto 101
Loop
Goto 101
'
102
Fade 13 : Wait 50
Unpack 6 To 2
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 103
If K=13 and T=1 Then Goto 101
If K=14 and T=1 Then Goto 105
If K=15 and T=1 Then Goto 104
If K=16 and T=1 Then Goto 153
Loop
'
153
M$="Compact:Bright.Txt" : Paper 1 : Gosub TS : Goto 102
'
'
103
Fade 13
Wait 50
Unpack 7 To 3
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 104
If K=13 and T=1 Then Goto 102
If K=14 and T=1 Then Goto 156
If K=15 and T=1 Then Goto 154
If K=16 and T=1 Then Goto 155
Loop
'
154
M$="Compact:features.Txt" : Paper 14 : Gosub TS : Goto 103
'
155
M$="Compact:focus.Txt" : Paper 14 : Gosub TS : Goto 103
'
156
M$="Compact:mtce.Txt" : Paper 14 : Gosub TS : Goto 103
'
104
Fade 13
Wait 50
Unpack 8 To 4
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 105
If K=13 and T=1 Then Goto 103
If K=14 and T=1 Then Goto 107
If K=15 and T=1 Then Goto 102
If K=16 and T=1 Then Goto 161
Loop
'
161
Fade 13
Load Iff "compact:COSWORTH",4
Do
T=Mouse Key
If T<>0 Then Cls : Goto 104
Loop
Goto 104
'
105
Fade 13
Wait 50
Unpack 9 To 5
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 106
If K=13 and T=1 Then Goto 104
If K=14 and T=1 Then Goto 157
If K=15 and T=1 Then Goto 109
If K=16 and T=1 Then Goto 110
Loop
'
157
M$="Compact:comp.Txt" : Paper 14 : Gosub TS : Goto 105
'
'
106
Fade 13
Wait 50
Unpack 10 To 6
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 107
If K=13 and T=1 Then Goto 105
If K=14 and T=1 Then Goto 158
If K=15 and T=1 Then Goto 110
If K=16 and T=1 Then Goto 162
Loop
'
158
M$="Compact:shake.Txt" : Paper 14 : Gosub TS : Goto 106
'
162
Fade 13
Load Iff "compact:PUDDLE",4
Do
T=Mouse Key
If T<>0 Then Cls : Goto 106
Loop
Goto 106
'
107
Fade 13
Wait 50
Unpack 11 To 4
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 108
If K=13 and T=1 Then Goto 106
If K=14 and T=1 Then Goto 105
If K=15 and T=1 Then Goto 103
Loop
'
108
Fade 13
Wait 50
Unpack 12 To 5
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 109
If K=13 and T=1 Then Goto 107
If K=14 and T=1 Then Goto 159
If K=15 and T=1 Then Goto 107
If K=16 and T=1 Then Goto 160
Loop
'
159
M$="Compact:sale.Txt" : Paper 14 : Gosub TS : Goto 108
'
160
Fade 13
Load Iff "compact:GLASS",4
Do
T=Mouse Key
If T<>0 Then Cls : Goto 108
Loop
Goto 108
'
109
Fade 13
Wait 50
Unpack 13 To 5
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Set Zone 15,452,225 To 504,245
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 110
If K=13 and T=1 Then Goto 108
If K=14 and T=1 Then Goto 105
If K=15 and T=1 Then Goto 106
If K=16 and T=1 Then Goto 163
Loop
'
163
Fade 13
Load Iff "compact:HOL",4
Do
T=Mouse Key
If T<>0 Then Cls : Goto 164
Loop
164
Fade 13
Load Iff "compact:GLASS",5
Do
T=Mouse Key
If T<>0 Then Cls : Goto 109
Loop
Goto 109
'
110
Fade 13
Wait 50
Unpack 14 To 3
Reserve Zone(25)
Set Zone 11,22,225 To 76,245
Set Zone 12,129,225 To 184,245
Set Zone 13,236,225 To 288,245
Set Zone 14,345,225 To 398,245
Do
K=Mouse Zone
T=Mouse Key
If K=11 and T=1 Then Goto 99
If K=12 and T=1 Then Goto 107
If K=13 and T=1 Then Goto 109
If K=14 and T=1 Then Goto 105
Loop
'
'
Reserve Zone(25)
Set Zone 16,557,225 To 611,245
Do
K=Mouse Zone
T=Mouse Key
If K=16 and T=1 Then Goto 16
Loop
'
'
876
M$="Compact:intro.Txt" : Paper 14 : Gosub TS : Goto 99
'
881
M$="Compact:readme" : Paper 14 : Gosub TS : Goto 99
'
'
TS:
Global M$
Curs Off : Cls
Open In 1,M$
887
X=2
Do
If Eof(1) Then Goto 882
Set Input 10,-1
Line Input #1,N$
Locate 4,X : Print N$
X=X+1
If X=27 Then Goto 883
If Key State(50) Then Gosub PTS
Loop
'
'
883
Locate 1,29 : Centre "** LEFT MOUSE KEY FOR MORE TEXT OR RETURN **"
Do
T=Mouse Key
If T<>0 Then Cls : Goto 887
Loop
Wait Key
882
Do
Locate 1,29 : Centre "** LEFT MOUSE KEY FOR MORE TEXT OR RETURN - 'X' TO PRINT **"
T=Mouse Key
If T<>0 Then Goto 21
If Key State(50) Then Gosub PTS
Loop
21
Close 1
Return
'
PTS:
Cls : Locate 0,15 : Paper 6 : Centre "** PRINTER ON, PAPER IN, PRESS MOUSE BUTTON **"
Do
T=Mouse Key
If T<>0 Then Goto 2129
Loop
2129
Close 1
Curs Off : Cls
Open In 1,M$
Do
If Eof(1) Then Goto 1882
Set Input 10,-1
Line Input #1,M$
Locate 4,X : Lprint M$
Loop
1882
Do
Locate 1,15 : Paper 4 : Centre "** LEFT MOUSE KEY TO EXIT **"
T=Mouse Key
If T<>0 Then Goto 2121
Loop
2121
Return